﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Data;

namespace xml_to_db
{
    public interface ISchemaAdapter
    {
        /// <summary>
        /// Create a new database conforming to the passed schema.
        /// </summary>
        /// <param name="schema">a DataSet containing the schema</param>
        /// <param name="force">overwrite the schema destination/adapter if it exists</param>        
        void Create(DataSet schema, bool force);

        /// <summary>
        /// Create a new database conforming to the passed schema.
        /// </summary>
        /// <param name="schema">a DataSet containing the schema</param>
        /// <param name="force">overwrite the schema destination/adapter if it exists</param>
        void Create(DataSet schema, bool force, string TablePrefix);

        /// <summary>
        /// Create a new database conforming to the passed schema.
        /// </summary>
        /// <param name="schema">a DataSet containing the schema</param>
        /// <param name="force">overwrite the schema destination/adapter if it exists</param>        
        void Create(DataSet schema, bool force, string TablePrefix, string DbOwner);
    }
}
